#pragma once

#include <QListWidget>
#include <QList>
#include <QUrl>

class DropListWidget : public QListWidget
{
    Q_OBJECT
public:
    explicit DropListWidget(QWidget *parent = 0);

signals:
    void dropped(const QList<QUrl> & urls, QListWidgetItem * target);

protected:
    virtual void dragEnterEvent(QDragEnterEvent *e);
    virtual void dragMoveEvent(QDragMoveEvent *e);
    virtual void dragLeaveEvent(QDragLeaveEvent *e);
    virtual void dropEvent(QDropEvent *e);
};
